html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.rank_header {
    background: linear-gradient(#6b473a, #111111);
    height: 210px;
    line-height: 210px;
    background-image: url('../images/ranking.png');
    background-size: 130%;
    background-position: center;
}

.rank_header .title {
    color: #f9fbfa;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
}

.rank_box {
    padding: 15px;
    background-color: #111111;
    flex: 1;
    overflow: auto;
}

.rank_box .item {
    width: 100%;
    background: linear-gradient(0.25turn, #4c314e, #4d2d2d);
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
}



.rank_box .item .top {
    background-color: #fefefe;
    border-radius: 5px;
}

.rank_box .item .top,
.item .footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.rank_box .item .top .img {
    width: 30%;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    padding: 3px;
}

.rank_box .item .top .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank_box .item .top .content {
    width: 65%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-top: 20px;
}

.rank_box .item .top .content .title {
    font-size: 15px;
    color: #83624b;
    font-weight: 600;
}

.rank_box .item .top .content .middle {
    color: #83624b;
    font-weight: 600;
    font-size: 13px;
}

.rank_box .item .top .content .middle span {
    text-align: center;
    padding: 2px 8px;
    border-radius: 20px;
    background: linear-gradient(0.25turn, #fbb666, #fe3961);
    color: white;
    font-style: italic;
    font-weight: bold;
    font-size: 10px;
    margin-right: 5px;
}

.rank_box .item .top .content .desc {
    color: #715541;
    font-weight: 600;
}

.rank_box .item .footer {
    padding: 10px;
    color: #d8d1da;
    font-size: 12px;
    box-sizing: border-box;
}

.rank_box .item .footer .price span:first-child {
    font-size: 20px;
    font-weight: bold;
}

.rank_box .item .footer .price span:last-child {
    background-color: #603f56;
    padding: 3px 5px;
    border-radius: 10px;
    color: white;
}

.rank_box .item .footer .btn {
    background: linear-gradient(0.25turn, #fbd6b3, #fbefd9, #ffcfac);
    color: #977052;
    padding: 1px 4px;
    border-radius: 20px;
    font-weight: 600;
}

.rank_box .item .tip {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    text-align: right;
    color: #ffffff;
    font-style: italic;
    font-size: 15px;
    padding: 2px 15px 2px 0;
    /* border-top-left-radius: 10px; */
    border-bottom-left-radius: 100px;
    letter-spacing: 2px;
    background-image: linear-gradient(55deg, 
    #745663 0%, #745663 18%, 
    #5f4e56 18%, #5f4e56 30%,
    #4d454c 30%, #4d3a3a 100%);
}

.rank_box .item .tip img {
    width: 18px;
    height: 18px;
    ;
    object-fit: cover;
    margin-top: -2px;
    vertical-align: middle;
    margin-right: -3px;
}